#!/bin/bash#
SSID=$( networksetup -getairportnetwork en0 | cut -c 24- )
if [ "$SSID" == "seu-wlan" -o "$SSID" == "seu-wlan-5G" ]; then
#Login
	echo "正在登录..."
	curl --data "username=【你的学号】&password=【加密后的密码】&enablemacauth=0" https://w.seu.edu.cn/index.php/index/login
fi

